package xyz.sicau.feign.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private int id;
    private String name;
    private Integer age;
    private String sex;
    private String nickName;

    public User(int id, String name) {
        this.id = id;
        this.name = name;
    }
}
